﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Conteinerid.Aspects
{
    public abstract class Advice : IAdvice
    {
        public List<PointCut> pointCuts = new List<PointCut>();

        public IList<PointCut> PointCuts
        {
            get
            {
                return pointCuts.Select(pc => pc).ToList();
            }
        }

        public abstract void Execute(object sender, AspectEventArgs args);
    }
}
